package lab04.test01;

/**
 * Created by 123 on 2017/12/1.
 */
public class HelloWorldRunnable implements Runnable{

    @Override
    public void run() {

        while (true) {
            try {
                Thread.sleep(2000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println("Hello,World");
        }
    }
}
